home *** CD-ROM | disk | FTP | other *** search
/ Champak 53 / Volume 53 - JOGO DISK .iso / Games / doll_maker_1.swf / scripts / DefineSprite_319 / frame_1 / DoAction.as
Text File  |  2007-09-26  |  566b  |  31 lines

  1. stop();
  2. bt_sound = new sound();
  3. bt_sound.attachSound("bt");
  4. this.onPress = function()
  5. {
  6.    bt_sound.start();
  7.    _root.v_mc.gotoAndStop(101);
  8.    gotoAndStop(2);
  9. };
  10. this.onRelease = function()
  11. {
  12.    gotoAndStop(1);
  13.    if(_root.sel == "10-3")
  14.    {
  15.       _root.sel = "10-0";
  16.       _root.cur_mc.gotoAndStop(1);
  17.       _root.ye_mc.gotoAndStop(1);
  18.    }
  19.    else
  20.    {
  21.       _root.sel = "10-3";
  22.       _root.cur_mc.gotoAndStop(1);
  23.       _root.ye_mc.gotoAndStop(4);
  24.    }
  25.    Mouse.show();
  26. };
  27. this.onReleaseOutside = function()
  28. {
  29.    gotoAndStop(1);
  30. };
  31.